home *** CD-ROM | disk | FTP | other *** search
/ Resource for Source: C/C++ / Resource for Source - C-C++.iso / misc_src / vlib205 / vlibdemo.frm (.txt) < prev    next >
Visual Basic Form  |  1995-11-01  |  13KB  |  356 lines

  1. Form1
  2. #Visualib 2.05 Demo for Visual Basic
  3. Form1
  4. Panel3D2
  5. SSPanel
  6. MS Sans Serif
  7. Panel3D1
  8. SSPanel
  9. Spin1
  10. SpinButton
  11. Clear
  12.     SSCommand
  13. Clear
  14. mnuFile
  15. &File
  16. mnuFileExit
  17. E&xit
  18.     Form_Load"
  19. HScroll1_Change'
  20. label1
  21. Caption
  22. Value
  23. HScroll1_Scroll
  24. Label1_Click
  25. HScroll1|
  26. mnuFileExit_Click
  27. InitialVisualib
  28. InitializeVisualib
  29. status
  30. Licenseinfo
  31. CreateViewerR
  32. viewer1W
  33. vname
  34. SelectViewer
  35. viewer21
  36. PenColor
  37. VL_BLUE
  38. displayviewerframee
  39. VL_CURRENT0
  40.     TextColor
  41. VL_BLACK8
  42. TRANSPARENT
  43. DisplayViewerNameL
  44. InitVlib{
  45. Command3D1_Click|
  46. Start_Click 
  47. Clear_Click
  48. Clears_Click
  49. Star2Dq
  50. Spin1_SpinDown
  51. Spin1_SpinUp
  52. label
  53. viewer31i
  54. viewer2
  55. viewer3
  56. demoa
  57. BOOLP
  58. InitApplicationM
  59.     hInstance
  60. RECTl
  61. VECTOR3B
  62.     parameterd
  63. light1
  64. CreateLight6
  65. VL_DISTLIGHT
  66. SelectLight;
  67. SetLightCoordinateType
  68. VL_WORLDLIGHT
  69. VSET3y
  70. ShadingParameter
  71. VL_LIGHTDIRECTION
  72. ShadingColor
  73. VL_LIGHTCOLOR
  74. SwitchLight
  75. light2
  76. VL_POINTLIGHT
  77. VL_LIGHTLOCATION
  78. light3j
  79. light4Z
  80. VL_SPOTLIGHT
  81. ShadingFactor
  82. VL_SPOTLIGHTANGLE
  83. VL_SPOTLIGHTSPREAD
  84. light7 
  85. VL_LIGHTINTENSITY1
  86. light89
  87. GetDC
  88. GetDeviceCaps
  89.     BITSPIXEL
  90. ShadingOption
  91. VL_SHADINGMETHOD
  92. VL_PHONGSHADE
  93. VL_DEPTHBUFFER
  94. VL_FLATSHADEC
  95. VL_LOCALVIEWER
  96.     ReleaseDCP
  97. VL_BACKFACEREMOVALv
  98. SelectMaterialB    
  99. mater0
  100. CreateMaterial
  101. VL_MATERIALSPECULARp
  102. VL_SPECULARREFLECT
  103. VL_MATERIALAMBIENT
  104. VL_AMBIENTREFLECTs
  105. VL_MATERIALDIFFUSE
  106. VL_SHININESS
  107. mater1
  108. mater2
  109. mater3
  110. mater4+
  111. SetRect!
  112. VL_TWOD_
  113. VL_HORZFIT.
  114. SetWindow2D
  115.     VL_THREEDL
  116.     SetView3D
  117. SetPerspective
  118. SetDepthBufferE
  119.     VL_ALLFIT
  120. ViewerReset
  121. POINT3D
  122. surf]
  123. sknot9
  124. tknot
  125. ObjectMotion2D
  126. short
  127. BeginDoubleBuffer
  128. VL_RED
  129. animate_lengthH    
  130. ClearViewer
  131. VL_GRAY*
  132. BrushColor
  133. VL_GREEN
  134. Flower2D
  135. Rotate2DB
  136. UpdateDoubleBuffer
  137. MoveViewer2D
  138. Scale2D
  139. EndDoubleBuffer
  140. SetViewerName/    
  141. RotateStarx    
  142. viewer35
  143.     SolidStarn
  144. break
  145. MoveViewer3D
  146. Rotate3DR
  147. Object3DG
  148. Scale3D
  149. SpringQ
  150. VL_NONE`
  151. Translate3D
  152. PushTransformation3D
  153. Tetrahedron
  154. Octahedron
  155. PopTransformation3D
  156. RotateSurface
  157. VL_TWOSIDESHADE
  158. NURBSSurfaceN    
  159. VL_3D
  160. LPCOORD
  161. RotateDodecahedron
  162. viewer33|
  163. Dodecahedron
  164. depthbufferT    
  165. shadingmethod
  166. twosideshade
  167. backfaceremovalp    
  168. light0?
  169. Surfaces
  170. WORDX
  171. viewer30
  172. ClearDepthBuffer
  173. xffff^
  174. switchv
  175. IDM_SURFACE_BEZIER
  176. BezierSurfaceo
  177. Net3D
  178. PolyMark3Dn
  179. VL_CIRCLEMARK
  180. IDM_SURFACE_HERMIT(
  181. HermitSurface
  182. IDM_SURFACE_BSPLINE
  183. BSplineSurface
  184. IDM_SURFACE_NURBS
  185. VL_BOXMARK
  186. IDM_SURFACE_COONSPATCH
  187. CoonsPatch
  188. VOIDED
  189. ShowSolidPrimitives
  190. IDM_SOLID_TUBE]
  191.     SolidRing
  192. IDM_SOLID_TORUST
  193. TranslateTo3D.
  194. Torus
  195. WedgedTorus
  196. IDM_SOLID_SPHERE
  197. WedgedSphere`
  198. IDM_SOLID_ELLIPSOID
  199.     Ellipsoid
  200. IDM_SOLID_CYLINDERl
  201. WedgedCylinder
  202. SolidPie
  203. IDM_SOLID_CONES
  204. WedgedCone
  205. IDM_SOLID_TETRAHEDRON
  206. MarkPosition3D
  207. VL_CROSSHAIR*
  208. IDM_SOLID_OCTAHEDRON+
  209.     VL_ORIGIND
  210. IDM_SOLID_DODECAHEDRON{
  211. IDM_SOLID_ICOSAHEDRON
  212. Icosahedronq
  213. IDM_SOLID_FRUSTUM
  214. Frustum&
  215. IDM_SOLID_RIDGEb
  216. Ridge
  217. IDM_SOLID_BOX?
  218. IDM_SOLID_STARF
  219. IDM_SOLID_FLOWER
  220. SolidFlower
  221. halign
  222.     TA_CENTERD
  223. valign<
  224. TA_BASELINE3
  225. ShowTextPrimitives5
  226. func6
  227. [40]@
  228. wsprintf
  229. IDM_TEXT_2D
  230. viewer20
  231. TextParameter
  232. VL_TEXT_HEIGHT
  233. SetTextAlign
  234. Text2D
  235. IDM_TEXT_3D
  236.     VL_YELLOW
  237. TA_LEFT
  238.     TA_BOTTOM
  239. Text3D
  240. TA_RIGHT
  241. TA_TOP
  242. IDM_TEXT_SOLID
  243. VL_TEXT_THICKNESS
  244.     SolidText
  245. SelectObject
  246. GetStockObject
  247. SYSTEM_FONT
  248. MirrorTransf3D
  249. Mirror3D
  250. PointScaleTransf3D
  251. PointScale3D
  252. CompositeDemo3D
  253. Spherer
  254. DepthClippingDemo
  255. MarbleRingDemof
  256. textureN
  257. SolidTexture
  258.     VL_MARBLE
  259. WoodSurfaceDemo
  260. VL_WOODGRAINS
  261. GraniteCubeDemo
  262. VL_GRANITE
  263. StereoTextDemo
  264. Welcome
  265. Pushtransformation2d
  266. setfont
  267. PopTransformation2dI
  268. BumpyDonutDemo
  269. VL_BUMPY
  270. VlibDemo
  271. backfaceoff
  272. light5
  273. light6
  274. Form_Unload@
  275. Cancel
  276. ExitVisualib
  277. SetRGBPa
  278. SetRGBPalette
  279. Form_Activate
  280. hObject
  281. nIndex
  282. wFlags
  283. VL_GREY
  284. visibleL
  285. enabled
  286. panel3d2
  287. Panel3D1_DragDrop
  288. Source
  289. Control
  290. currentxX
  291. currenty
  292.  PROGRAM:
  293.  Vlibdemo
  294.  PURPOSE:
  295.  To demonstrate the usage of Visualib(TM) functions.
  296.  PROVIDER:   Visual Tech Co.
  297.  P.O.Box 8735 
  298.  Fort Wayne, IN 46898-8735
  299.  Tel. (219) 289-0235
  300.  Fax. (816) 746-6618
  301.  DATE:
  302.  Januray 1994
  303. Clear_Click
  304.  MirrorTransf3D (HDC hdc)b
  305.  VECTOR3 ref = {0, 0, 0}, dir;
  306.  char
  307.  str[] = "Visualib";i
  308.  MarkPosition3D (hdc, 0, 0, 0, 40, VL_ORIGIN);
  309.  SetViewerName (VL_CURRENT, "3D Mirror Transformation");
  310.  SetTextAlign (hdc, TA_LEFT | TA_BOTTOM);a
  311.  TextParameter (VL_TEXT_HEIGHT, 20);
  312.  BrushColor (hdc, VL_RED);
  313.  Text3D (hdc, 3, 3, 0, str);
  314.  PushTransformation3D (NULL);
  315.  VSET3 (dir, 1, 0, 0);
  316.  Mirror3D (ref, dir);;
  317.  BrushColor (hdc, VL_GREEN);
  318.  Text3D (hdc, 3, 3, 0, str);
  319.  PopTransformation3D (NULL);
  320.  PushTransformation3D (NULL);
  321.  VSET3 (dir, 0, 1, 0);
  322.  Mirror3D (ref, dir);;
  323.  BrushColor (hdc, VL_YELLOW);
  324.  Text3D (hdc, 3, 3, 0, str);
  325.  PopTransformation3D (NULL);
  326.  PushTransformation3D (NULL);
  327.  VSET3 (dir, -1, -1, 0);
  328.  Mirror3D (ref, dir);0
  329.  BrushColor (hdc, VL_BLUE);)
  330.  Text3D (hdc, 3, 3, 0, str);
  331.  PopTransformation3D (NULL);
  332. Welcome to
  333. VISUALIB
  334. View Frame
  335. 2D Objects
  336.  PenColor hdc, VL_NONE
  337. 3D Obejects
  338. Ellipsoid
  339. Dodecahedron
  340. Visualib
  341. Solid Text
  342. 3D Composite
  343.  MarkPosition3D (hdc, 0, 0, 0, 10, VL_ORIGIN)R
  344. Icosahedron
  345. Torus
  346. NURBS surface
  347. Visual Tech Co
  348. PO Box 8735
  349. Fort Wayne, IN 46898-8735
  350. Form_Activate
  351. Form_Load
  352. Form_Unload
  353. mnuFileExit_Click
  354. Spin1_SpinDown
  355. Spin1_SpinUp
  356.